package com.zy.rpc.common.register;

import com.zy.rpc.common.serviceinfo.ServiceInfo;

import java.io.IOException;

/**
 * @atuthor zy
 * @date 2023/4/23 17:45
 */
public interface RegistryService {

    void register(ServiceInfo serviceInfo) throws Exception;

    void unregister(ServiceInfo serviceInfo) throws Exception;

    void destoryAll() throws IOException;
}
